@pink-color: #dc3f8c;
body {
  margin: 0;
  height: 100%;
}

#app {
  height: 100%;
  overflow-y: hidden;
}

.ant-btn {
  border-radius: 4px !important;
}

.ant-table-thead {
  tr {
    th {
      background: #e7eef8 !important;
    }
  }
}
.ant-table-tbody {
  tr:nth-child(2n) {
    background: #fafbfd !important;
  }
}

.alvin-card-tabs {
  width: 100%;
  .ant-tabs-bar {
    background: #fff;
    padding: 12px 36px 0;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
  }
  .ant-tabs-tab {
    margin-right: 4px !important;
    background: #f6f6f9 !important;
    border: 1px solid #d8d8e1 !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0 !important;
  }
  .ant-tabs-tab-active {
    background: #fff !important;
    border: 1px solid #d8d8e1 !important;
    border-bottom: none !important;
  }
}

.alvin-search-form {
  width: 100%;
  background: #fff;
  padding: 10px 24px;
  margin-bottom: 10px;
}

.ant-btn {
  color: #1890ff;
  border-color: #1890ff;
}

.alvin-content-view {
  padding:0 14px 14px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
  .alvin-card-tabs{
    position: absolute;
    top:0px;
    left:1px;
    width:calc(100% - 1px);
    .ant-tabs-tab{
      min-width: 100px;
      text-align: center;
    }
    .ant-tabs-tab-active{
      background-color: #e6f7ff !important;
    }
  }
  .tabs-content{
    width:100%;
    margin-top:50px;
    height:calc(100% - 50px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y:auto;
    overflow-x:hidden;
  }
}

.alvin-steps-box {
  padding: 30px 20px !important;
  .ant-steps-item-title::after {
    background-color: #d7d7d7;
  }
  .ant-steps-item-process
    > .ant-steps-item-container
    > .ant-steps-item-content
    > .ant-steps-item-title::after {
    background-color: #d7d7d7;
  }
  .ant-steps-item-wait
    > .ant-steps-item-container
    > .ant-steps-item-content
    > .ant-steps-item-title::after {
    background-color: #d7d7d7;
  }
}

.ant-pagination{
  text-align: right;
  margin-top: 10px !important;
}
// .ant-layout-content{
//   min-height:1000px !important;
//   overflow: auto;
// }

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.px-8 {
  padding: 0 8px;
}

.py-8 {
  padding: 8px 0;
}


.m-8 {
  margin: 8px;
}
.my-8 {
  margin: 8px 0;
}
.mx-8 {
  margin: 0 8px;
}
.mb-8 {
  margin-bottom: 8px;
}
.bg-white {
  background-color: #fff;
}

// tabs设置不压缩
.ant-tabs{
  flex-shrink: 0;
}
// tag 样式
.defaultWidth{
  width: 80px;
  border-radius:10px !important;
  text-align: center;
}
.ant-table-row-cell-ellipsis{
  .tag_gray{
    color: rgb(105, 101, 101);
    background: #e5e6e7;
    border-color: #c2c6c7; 
  }
} 

.alvin-descriptions {
  .ant-descriptions-header {
    margin-bottom: 10px;
  }
  .ant-descriptions-title {
    line-height: 3;
    font-size: 14px;
  }
  .ant-form-item {
    margin-bottom: 0;
  }
  .required-label {
    position: relative;
    &:before {
      content: "*";
      color: red;
      position: absolute;
      top: 50%;
      left: 6px;
      margin-top: -8px;
    }
  }
  .ant-descriptions-item-content {
    &:before {
      display: none;
    }
  }
}
// 工艺、返工、防患 新 UI css
.alvin-descriptions{
  .ant-select:not(.ant-select-customize-input) .ant-select-selector{
    border: none;
    padding: 0px 0 0 10px;// 选择框光标无法在首字符前方
    background-color: #ffffff !important;
    color: black !important;
    // z-index: 999;
    }
    .ant-input-affix-wrapper {
    border: none;
    // padding: 0px 0 0 10px;// 输入框光标无法在首字符前方
    color: black !important;
    }
    .ant-input{
    border:none;
    // padding: 0px 0 0 10px;// 输入框光标无法在首字符前方
    color: black !important;
    }
    .ant-input[disabled]{
      background-color: #ffffff !important;
      color: black !important;
    }
    .ant-collapse{
      border: 1px solid #fff;
      color: black !important;
    }
    .ant-input-number-input{
      // padding: 0px 0 0 10px;// 输入框光标无法在首字符前方
      color: black !important;
    }
}
.required-label{
  height: 40px;
  border:none;
  padding: 0px 0px;  
}
.alvin-descriptions{
  .ant-input-affix-wrapper-disabled{
    background-color: #ffffff;
    color: black !important;
  }
  .ant-input-number{
    border:none;
    background-color: #ffffff;
    color: black !important;
  }
  .ant-input-number-input{
    padding: 0px 11px;
  }
}
